from model import Model

class Address(Model):
    def __init__(self, _dict):
        Model.__init__(self, _dict)

        self.unit = _dict['unit']
        self.street_no = _dict['street_no']
        self.street_name = _dict['street_name']
        self.postcode = _dict['postcode']

        # Associate fields
        self.city = _dict['city']


if __name__ == '__main__':
    pass
    
